import request from '@/router/axios';

// export const getInfoAuditDetail = (incomingCode) => {
//     return request({
//       url: '/api/rb-oem/oem/posinfo/pos_info/detailOne',
//       method: 'get',
//       params: {
//         incomingCode
//       }
//     })
// }

export const updateAllData = (row) => {
    return request({
      url: '/api/rb-oem/oem/posinfo/pos_info/updateAllData',
      method: 'post',
      data: row
    })
}

export const updateAllDataPlus = (row) => {
  return request({
    url: '/api/rb-oem/oem/posinfo/pos_info/updateAllDataPlus',
    method: 'post',
    data: row
  })
}

export const getInfoAuditDetail = (incomingCode) => {
  return request({
    url: '/api/rb-oem/oem/incomingbasic/incoming_basic/updateDetailVOByIncomingPlus',
    method: 'get',
    params: {
      incomingCode
    }
  })
}

/* 流程审批驳回 修改商户入网 */
export const getIncomingAuditDetail = (incomingCode) => {
  return request({
    url: '/api/rb-oem/oem/incomingbasic/incoming_basic/updateDetailVOByIncomingPlus',
    method: 'get',
    params: {
      incomingCode
    }
  })
}